package com.authManager.commons.feignApi.hystric;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.stereotype.Component;

import com.authManager.commons.feignApi.SysRoleMenuApi;
import com.authManager.entity.SysRoleMenu;

import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;

@Component
public class SysRoleMenuApiHystric implements SysRoleMenuApi {

	@Override
	public ResultData<Object> saveSysRoleMenu(Long sysRoleId, String sysMenuIds, String systemCode) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<Object> editSysRoleMenu(@RequestParam(required = true) Long sysRoleMenuId, Long sysRoleId,
			Long sysMenuId, String systemCode) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<Object> delSysRoleMenu(Long sysRoleMenuId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<SysRoleMenu> getSysRoleMenu(Long sysRoleMenuId) {
		return new ResultData.Builder<SysRoleMenu>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<AdminPage<SysRoleMenu>> listSysRoleMenu(Integer pageNum, Integer pageSize, Long sysRoleMenuId,
			Long sysRoleId, Long sysMenuId, String systemCode, String start_createTime, String end_createTime) {
		return new ResultData.Builder<AdminPage<SysRoleMenu>>(ResultCode.reqeust_TimeOut).build();
	}

}
